home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 January / EnterCD 01_2004.iso / Multimedia / Advanced Effect Maker Freeware Edition 1.0 / aemf10.exe / {app} / templates / analogclock.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2003-06-09  |  1.8 KB  |  42 lines

  1. width = parseInt("300");
  2. height = parseInt("300");
  3. _root.moviearea._width = width;
  4. _root.moviearea._height = height;
  5. _root.clock._width = width;
  6. _root.clock._height = height;
  7. _root.bg._width = width;
  8. _root.bg._height = height;
  9. _root.mask._width = width;
  10. _root.mask._height = height;
  11. _root.mask._x = width / 2;
  12. _root.mask._y = width / 2;
  13. _root.clock._x = width / 2;
  14. _root.clock._y = width / 2;
  15. _root.bg._x = width / 2;
  16. _root.bg._y = height / 2;
  17. _root.moviearea._x = 0;
  18. _root.moviearea._y = 0;
  19. check = _root.clock._width;
  20. var ap = "<APPLETINFO>\r\nappletname=analogclock\r\napplettype=FLASH\r\ncreated=1055150743470\r\nappletfilename=analogclock1.swf\r\n</APPLETINFO>\r\n<ACTIONSCRIPT>\r\nwidth=300\r\nheight=300\r\nquality=Best\r\nmode=opaque\r\nrimcolval=255\r\nbgcolval=16762880\r\nbackgroundcolor=16777215\r\nnumbcolval=0\r\n</ACTIONSCRIPT>\r\n<HTML>\r\nwidth=300\r\nheight=300\r\nquality=Best\r\nmode=opaque\r\nbackgroundcolor=ffffff\r\n</HTML>\r\n<GENERATED>\r\nwidth=300\r\nwidth_GS=0;-\r\nheight=300\r\nheight_GS=0;-\r\ncompressionratio=33\r\ncompressionratio_GS=12;-\r\nimage=\r\nimage_GS=7;compressionratio\r\nquality=Best\r\nquality_GS=0;-\r\nmode=opaque\r\nmode_GS=0;-\r\nbackgroundcolor=ffffff\r\n</GENERATED>";
  21. var ts = "-1";
  22. rimcolval = "255";
  23. rimcolset = "0x" + rimcolval;
  24. rimcol = new Color("_root.clock.rim");
  25. rimcol.setRGB(parseInt(rimcolval));
  26. trace(rimcolset);
  27. bgcolval = "16762880";
  28. bgcolset = "0x" + bgcolval;
  29. bgcol = new Color("_root.bg");
  30. bgcol.setRGB(parseInt(bgcolval));
  31. numbcolval = "0";
  32. numbcolset = "0x" + numbcolval;
  33. numcol = new Color("_root.clock.vnumb");
  34. numcol.setRGB(parseInt(numbcolval));
  35. numpad = 1;
  36. _root.clock.vnumb.gotoAndStop(numpad);
  37. if(_root.moviearea.image == null)
  38. {
  39.    _root.mask._visible = false;
  40. }
  41. stop();
  42.